package it.yuzuojian.com.dao;

import it.yuzuojian.com.domain.Song;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SongMapper {
    public Integer insert(Song song);
    public Integer update(Song song);
    public Integer delete(Integer id);
    public Song selectById(Integer id);
    public List<Song> selectAll();
    public List<Song> selectByName(String name);
    public Song selectOneByName(String name);
    public List<Song> selectBySingerId(Integer singerId);
}
